/**
* Author: CZ cz.theng@gmail.com
 */

package main

/*
#cgo CFLAGS: -I./c
#cgo LDFLAGS:-L. -lca
#include "c.h"
*/
import "C" // must be here not in ()

import (
	"fmt"
)

func main() {
	fmt.Println("Invoke glibc from golang")
	r := C.hello_a(2)
	fmt.Println("Get back from c is ", r)
}
